package com.tamo.ppresta.httpapi;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.tamo.ppresta.constant.API_CONSTANT;

import org.jetbrains.annotations.NotNull;

/**
 * @author yeyang
 * @name ppresta
 * @class name：com.tamo.ppresta.httpapi
 * @class describe
 * @time 2022/12/31 18:02
 * @change
 * @chang time
 * @class describe
 */
public class UserSureLoanProductApi implements IRequestApi {
    @NonNull
    @NotNull
    @Override
    public String getApi() {
        return API_CONSTANT.USER_SURE_LOAN_PRODUCT;
    }

    private String itemCode;
    private String languageCode;
    private String productItemCode;
    private String sessionId;
    private String productId;
    private String cardId;
    private String loanId;

    public UserSureLoanProductApi setItemCode(String itemCode) {
        this.itemCode = itemCode;
        return this;
    }

    public UserSureLoanProductApi setLanguageCode(String languageCode) {
        this.languageCode = languageCode;
        return this;
    }

    public UserSureLoanProductApi setProductItemCode(String productItemCode) {
        this.productItemCode = productItemCode;
        return this;
    }

    public UserSureLoanProductApi setSessionId(String sessionId) {
        this.sessionId = sessionId;
        return this;
    }

    public UserSureLoanProductApi setProductId(String productId) {
        this.productId = productId;
        return this;
    }

    public UserSureLoanProductApi setCardId(String cardId) {
        this.cardId = cardId;
        return this;
    }

    public UserSureLoanProductApi setLoanId(String loanId) {
        this.loanId = loanId;
        return this;
    }
}